//
//  UIPopupController.h
//  storeapp
//
//  Created by huangyi on 13-4-11.
//  Copyright (c) 2013年 ios. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIPickerController : NSObject

@property(nonatomic,assign)id delegate;
@property(nonatomic,strong)id userInfo;
-(UIPickerController*)initWithTitle:(NSString*)title andChoice:(NSArray *)array;
-(void)showPicker;
-(NSString*)title;

@end

@protocol UIPickerControllerProtocol <NSObject>

-(void)pickerController:(UIPickerController*)controller didSelectedItemAtIndex:(int)index withInfo:(id)info;

@end